package com.lagou.service;

import com.lagou.dao.StudentDao;
import com.lagou.dao.UserDao;
import com.lagou.entity.Student;
import com.lagou.entity.User;

import java.sql.SQLException;
import java.util.Date;

public class StudentService {
    public void add(Student student) throws SQLException {

        StudentDao studentDao = new StudentDao();
        studentDao.add(student.getId(), student.getName(), student.getSex(), student.getBirthday());
    }
}
